|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.BOAcomponent
public class BOAcomponent
Creates a BOA component consisting of the classname of the component, the type of the component, and all parameters. Please report bugs to author.
| Constructor Summary | |
|---|---|
BOAcomponent(java.lang.String classname,
java.lang.String type)
Variant of the main constructor in which it is assumed that the component has no parameters. |
|
BOAcomponent(java.lang.String classname,
java.lang.String type,
java.util.ArrayList<BOAparameter> orgParam)
Variant of the main constructor in which it is assumed that the component has no parameters. |
|
BOAcomponent(java.lang.String classname,
java.lang.String type,
java.util.HashMap<java.lang.String,java.math.BigDecimal> strategyParam)
Creates a BOA component consisting of the classname of the components, the type, and the parameters with which the component should be loaded. |
|
| Method Summary | |
|---|---|
void |
addParameter(java.lang.String name,
java.math.BigDecimal value)
Add a parameter to the set of parameters of this component. |
java.lang.String |
getClassname()
|
java.util.HashMap<java.lang.String,java.math.BigDecimal> |
getFullParameters()
|
java.util.ArrayList<BOAparameter> |
getOriginalParameters()
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getParameters()
|
java.lang.String |
getType()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BOAcomponent(java.lang.String classname,
java.lang.String type,
java.util.HashMap<java.lang.String,java.math.BigDecimal> strategyParam)
classname - of the component.type - of the component (for example bidding strategy).strategyParam - parameters of the component.
public BOAcomponent(java.lang.String classname,
java.lang.String type)
classname - of the component.type - of the component (for example bidding strategy).
public BOAcomponent(java.lang.String classname,
java.lang.String type,
java.util.ArrayList<BOAparameter> orgParam)
classname - of the component.type - of the component (for example bidding strategy).orgParam - backup of original parameters| Method Detail |
|---|
public void addParameter(java.lang.String name,
java.math.BigDecimal value)
name - of the parameter.value - of the parameter.public java.lang.String getClassname()
public java.lang.String getType()
public java.util.HashMap<java.lang.String,java.lang.Double> getParameters()
public java.util.HashMap<java.lang.String,java.math.BigDecimal> getFullParameters()
public java.util.ArrayList<BOAparameter> getOriginalParameters()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||